﻿// 1.1.9.01. Write a method that by given name prints on the console "Hello, <name>!" (for example: "Hello, Peter!").
// Write a program to test this method.

namespace Methods
{
    using System;

    public class HelloNameWithUnitTesting
    {
        public static string HelloName(string name)
        {
            name = "Hello, " + name + "!";
            return name;
        }
        static void Main()
        {
            string userInput = Console.ReadLine();

            Console.WriteLine(HelloName(userInput));
        }
    }
}

